﻿using System.Windows;

namespace Ken_WPF_UI.View.otherUI
{
    /// <summary>
    /// RegisterWindow1.xaml 的交互逻辑
    /// </summary>
    public partial class RegisterWindow1 : Window
    {
        public RegisterWindow1()
        {
            InitializeComponent();
        }

        private void btn_Close_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            //Application.Current.Shutdown();
        }

        private void btn_Register_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrWhiteSpace(txt_userName.Text) || string.IsNullOrWhiteSpace(txt_Pwd.Password))
                MessageBox.Show("请输入用户名或密码");
            else
                MessageBox.Show("登录功能暂未实现");
        }

        private void Window_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) => DragMove();
    }
}
